<?xml version="1.0" encoding="UTF-8"?>
<handler name="Custom">
	<results>
		<!-- blogX error results -->
		<result value="error_admin"  type="page" sect="errors" sub="blogX" proc="error" page="admin">user is not a blogspace administrator</result>
		<result value="error_blogx"  type="page" sect="errors" sub="blogX" proc="error" page="general">general</result>
		<result value="error_delete"  type="page" sect="errors" sub="blogX" proc="error" page="admin">cannot delete blogspace admin</result>
		<result value="error_confirm"  type="page" sect="errors" sub="blogX" proc="error" page="confirm">new password is not confirmed</result>
		<result value="error_duplicate" type="page" sect="errors" sub="blogX" proc="error" page="duplicate">blogspace with this name exists</result>
		<result value="error_exists"  type="page" sect="errors" sub="blogX" proc="error" page="exist">user with this name exists</result>
		<result value="error_spaceexist"  type="page" sect="errors" sub="blogX" proc="error" page="exists">blogspace does not exist</result>
		<result value="error_userexist"  type="page" sect="errors" sub="blogX" proc="error" page="exists">user does not exist</result>
		<result value="error_expired"  type="page" sect="errors" sub="blogX" proc="error" page="expired">token expired</result>
		<result value="error_group"  type="page" sect="errors" sub="blogX" proc="error" page="group">unknown rights group</result>
		<result value="error_inactive" type="page" sect="errors" sub="blogX" proc="error" page="inactive">blogspace is not active</result>
		<result value="error_loadblog" type="page" sect="errors" sub="blogX" proc="error" page="loadblog">blog not loaded</result>
		<result value="error_loadspace" type="page" sect="errors" sub="blogX" proc="error" page="loadspace">blogspace not loaded</result>
		<result value="error_notexist" type="page" sect="errors" sub="blogX" proc="error" page="notexist">user with this name does not exist</result>
		<result value="error_notoken"  type="page" sect="errors" sub="blogX" proc="error" page="notoken">user is not logged on</result>
		<result value="error_password" type="page" sect="errors" sub="blogX" proc="error" page="password">incorrect password</result>
		<result value="error_right"  type="page" sect="errors" sub="blogX" proc="error" page="right">access denied</result>
		<result value="error_valid"  type="page" sect="errors" sub="blogX" proc="error" page="valid">token not valid</result>
		<result value="notOK"  type="page" sect="errors" sub="blogX" proc="error" page="general">general</result>
	</results>
	<process name="Login" updateprofile="yes">
		<call type="soap" fields="no" operation="Login">
			<parameter name="username" type="profile">Username</parameter>
			<parameter name="password" type="profile">Password</parameter>
		</call>
		<errors file="handler_errors.xml"/>
		<results type="node" value="//Result/Result_Code" default="error_test">
			<!--<result value="0" type="form" process="BlogAdd">Blog</result>-->
			<result value="0" type="process">SetBlogspace_Talking</result>
			<result value="error_password" type="page" sect="site" sub="main" proc="login" page="tryagain">not OK</result>
			<result value="error_notexist" type="page" sect="site" sub="main" proc="login" page="tryagain">not OK</result>
		</results>
	</process>
	<process name="SetBlogspace" updateprofile="yes">
		<call type="soap" fields="no" operation="GetSpace">
			<parameter name="token" type="token"/>
			<parameter name="name" type="profile">BlogSpaces</parameter>
		</call>
		<errors file="handler_errors.xml"/>
		<results type="node" value="//Result/Result_Code" default="error_blogx">
			<result value="0" type="process">List</result>
		</results>
	</process>
	<process name="GetBlogList" updateprofile="yes">
		<call type="soap" fields="no" operation="ListBlogs">
			<parameter name="token" type="token"/>
			<parameter name="name" type="profile">BlogSpaces</parameter>
			<parameter name="topic" type="profile">Topics</parameter>
			<parameter name="archive" type="profile">Archives</parameter>
		</call>
		<errors file="handler_errors.xml"/>
		<results type="node" value="//Result/Result_Code" default="error_blogx" function="getBlogListXml">
			<result value="0" type="contentxml" sect="blogs" sub="blog" proc="manage" page="list">OK</result>
		</results>
	</process>
	<process name="GetBlogListCust" updateprofile="yes">
		<call type="soap" fields="no" operation="ListBlogs">
			<parameter name="token" type="token"/>
			<parameter name="name" type="profile">BlogSpaces</parameter>
			<parameter name="topic" type="value">*,-default</parameter>
			<parameter name="archive" type="profile">Archives</parameter>
		</call>
		<errors file="handler_errors.xml"/>
		<results type="node" value="//Result/Result_Code" default="error_blogx" function="getBlogListXml">
			<result value="0" type="contentxml" sect="blogs" sub="blog" proc="manage" page="list">OK</result>
		</results>
	</process>
	<process name="GetBlogListCustDef" updateprofile="yes">
		<call type="soap" fields="no" operation="ListBlogs">
			<parameter name="token" type="token"/>
			<parameter name="name" type="profile">BlogSpaces</parameter>
			<parameter name="topic" type="value">default</parameter>
			<parameter name="archive" type="profile">Archives</parameter>
		</call>
		<errors file="handler_errors.xml"/>
		<results type="node" value="//Result/Result_Code" default="error_blogx" function="getBlogListXml">
			<result value="0" type="contentxml" sect="blogs" sub="blog" proc="manage" page="listdate">OK</result>
		</results>
	</process>
	<!-- normal pages list -->
	<process name="SetBlogspace_Talking" updateprofile="yes">
		<call type="soap" fields="no" operation="GetSpace">
			<parameter name="token" type="token"/>
			<parameter name="name" type="value">talking</parameter>
		</call>
		<errors file="handler_errors.xml"/>
		<results type="node" value="//Result/Result_Code" default="error_blogx">
			<result value="0" type="process">GetBlogListCust</result>
		</results>
	</process>
	<process name="SetBlogspace_Business" updateprofile="yes">
		<call type="soap" fields="no" operation="GetSpace">
			<parameter name="token" type="token"/>
			<parameter name="name" type="value">business</parameter>
		</call>
		<errors file="handler_errors.xml"/>
		<results type="node" value="//Result/Result_Code" default="error_blogx">
			<result value="0" type="process">GetBlogListCust</result>
		</results>
	</process>
	<process name="SetBlogspace_Besigheid" updateprofile="yes">
		<call type="soap" fields="no" operation="GetSpace">
			<parameter name="token" type="token"/>
			<parameter name="name" type="value">besigheid</parameter>
		</call>
		<errors file="handler_errors.xml"/>
		<results type="node" value="//Result/Result_Code" default="error_blogx">
			<result value="0" type="process">GetBlogListCust</result>
		</results>
	</process>
	<process name="SetBlogspace_Health" updateprofile="yes">
		<call type="soap" fields="no" operation="GetSpace">
			<parameter name="token" type="token"/>
			<parameter name="name" type="value">health</parameter>
		</call>
		<errors file="handler_errors.xml"/>
		<results type="node" value="//Result/Result_Code" default="error_blogx">
			<result value="0" type="process">GetBlogListCust</result>
		</results>
	</process>
	<process name="SetBlogspace_Testxml" updateprofile="yes">
		<call type="soap" fields="no" operation="GetSpace">
			<parameter name="token" type="token"/>
			<parameter name="name" type="value">shop</parameter>
		</call>
		<errors file="handler_errors.xml"/>
		<results type="node" value="//Result/Result_Code" default="error_blogx">
			<result value="0" type="process">GetBlogListCust</result>
		</results>
	</process>
	<!-- default pages list -->
	<process name="SetBlogspace_Technology" updateprofile="yes">
		<call type="soap" fields="no" operation="GetSpace">
			<parameter name="token" type="token"/>
			<parameter name="name" type="value">technology</parameter>
		</call>
		<errors file="handler_errors.xml"/>
		<results type="node" value="//Result/Result_Code" default="error_blogx">
			<result value="0" type="process">GetBlogListCustDef</result>
		</results>
	</process>
	<process name="SetBlogspace_Whatsnew" updateprofile="yes">
		<call type="soap" fields="no" operation="GetSpace">
			<parameter name="token" type="token"/>
			<parameter name="name" type="value">talking</parameter>
		</call>
		<errors file="handler_errors.xml"/>
		<results type="node" value="//Result/Result_Code" default="error_blogx">
			<result value="0" type="process">GetBlogListCustDef</result>
		</results>
	</process>
	<process name="SetBlogspace_Media" updateprofile="yes">
		<call type="soap" fields="no" operation="GetSpace">
			<parameter name="token" type="token"/>
			<parameter name="name" type="value">media</parameter>
		</call>
		<errors file="handler_errors.xml"/>
		<results type="node" value="//Result/Result_Code" default="error_blogx">
			<result value="0" type="process">GetBlogListCustDef</result>
		</results>
	</process>
	<process name="SetBlogspace_Polls" updateprofile="yes">
		<call type="soap" fields="no" operation="GetSpace">
			<parameter name="token" type="token"/>
			<parameter name="name" type="value">polls</parameter>
		</call>
		<errors file="handler_errors.xml"/>
		<results type="node" value="//Result/Result_Code" default="error_blogx">
			<result value="0" type="process">GetBlogListCustDef</result>
		</results>
	</process>
</handler>